//
//  B_ApplyResultVC.m
//  DreamOf
//
//  Created by 薛小刚 on 2018/9/3.
//  Copyright © 2018年 薛小刚. All rights reserved.
//

#import "B_ApplyResultVC.h"

@interface B_ApplyResultVC ()

@end

@implementation B_ApplyResultVC

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setLeftImageBarButtonItemWithFrame:CGRectZero image:@"" selectImage:@"" action:^(GUIButton *button) {
        
    }];
    self.B_backMainPageButton.layer.borderColor = [UIColor color_pink].CGColor;
    self.B_backMainPageButton.layer.borderWidth = 1;
    if ([@"失败" isEqualToString:@"失败"]) {
        self.B_imageView.image = [UIImage imageNamed:@"B_activity_signup_failure"];
        self.B_titleLabel.text = @"报名失败!";
        [self.B_reapplyButton setTitle:@"重新报名" forState:UIControlStateNormal];
        [self.B_backMainPageButton setTitle:@"返回首页" forState:UIControlStateNormal];
    } else {
        
        self.B_imageView.image = [UIImage imageNamed:@"B_activity_signup_successful"];
        self.B_titleLabel.text = @"报名成功!";
        [self.B_reapplyButton setTitle:@"分享给好友" forState:UIControlStateNormal];
        [self.B_backMainPageButton setTitle:@"返回首页" forState:UIControlStateNormal];
    }
    
    
    
    
    
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (IBAction)B_reapplyAction:(id)sender {
}

- (IBAction)B_backMainPageAction:(id)sender {
}
@end
